//
//  MyCollectionViewCell.m
//  A段项目
//
//  Created by dllo on 16/5/8.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "MyCollectionViewCell.h"

@implementation MyCollectionViewCell

- (void)dealloc {
    [_naviLabel release];
    [super dealloc];
}
- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    
    if (self) {
        [self creatView];
    }
    return self;
}

- (void)creatView {
    NSLog(@"%f",self.frame.origin.y);
    self.naviLabel = [[UILabel  alloc] initWithFrame:CGRectMake(0, 0, WIDTH / 4, 30)];
    self.naviLabel.backgroundColor = [UIColor clearColor];
    self.naviLabel.textAlignment = 1;
    [self.contentView addSubview:self.naviLabel];
    [_naviLabel release];
}

@end
